home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
linux-bo
/
chkconfi.000
/
chkconfi
/
chkconfig-0.3b
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-01-08
|
443b
|
26 lines
CC = gcc
CFLAGS = -Wall -c
LFLAGS = -static
TARGET = chkconfig
SRC = errexit.c chkconfig.c
OBJ = errexit.o chkconfig.o
DOC = chkconfig.8
TART = $(TARGET).tgz
UUET = $(TARGET).uue
$(TARGET): $(OBJ)
$(CC) $(LFLAGS) $(OBJ) -o $@
$(OBJ): $(SRC)
$(CC) $(CFLAGS) $(SRC)
tar: $(SRC) $(DOC)
tar czvvvf $(TART) $(SRC) $(DOC) Makefile
uue: tar
uuencode $(TART) $(TART) > $(UUET)
clean:
rm -f $(TART) $(OBJ) $(UUET) $(TARGET)